package com.lqy.demo_one.shiro;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author: lqy
 * @date: 2021/10/8 13:37
 * @description:
 */
public class JwtToken implements AuthenticationToken {
    private String token;
    public JwtToken(String token){
        this.token = token;
    }
    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
